
  <div class="x_panel">
    <div class="x_content row">
      <div class="col-xs-12">
        <form class="form-horizontal form-label-left" action="{$actionUrl}" method="post" enctype="multipart/form-data">
          <div class="form-group">

            <label class="control-label col-md-2 col-sm-4 col-xs-12">设备名称：</label>
            <div class="checkbox col-md-10 col-sm-8 col-xs-12">
              <input class="form-control col-md-3 col-xs-12" type="text" name="form[device_name]" value="{$device.device_name}">
            </div>

            <label class="control-label col-md-2 col-sm-4 col-xs-12">设备图片：</label>
            <div class="checkbox col-md-10 col-sm-8 com-xs-12">
              {if $device.device_pic}<img style="width:100px;height:100px;" src="{$device.device_pic}"/>{/if}
              <input type="file" name="device_pic">
            </div>
            <label class="control-label col-md-2 col-sm-4 col-xs-12">IMEI：</label>
            <div class="checkbox col-md-10 col-sm-8 col-xs-12">
              <input class="form-control col-md-3 col-xs-12" type="text" name="form[device_imei]" value="{$device.device_imei}">
            </div>

            <label class="control-label col-md-2 col-sm-4 col-xs-12">脉冲high值：</label>
            <div class="checkbox col-md-10 col-sm-8 col-xs-12">
              <input class="form-control col-md-3 col-xs-12" type="text" name="form[device_high]" value="{$device.device_high}">
            </div>

            <label class="control-label col-md-2 col-sm-4 col-xs-12">脉冲low值：</label>
            <div class="checkbox col-md-10 col-sm-8 col-xs-12">
              <input class="form-control col-md-3 col-xs-12" type="text" name="form[device_low]" value="{$device.device_low}">
            </div>

            <label class="control-label col-md-2 col-sm-4 col-xs-12">类型：</label>
            <div class="checkbox col-md-10 col-sm-8 col-xs-12">
              <input class=""  type="radio" name="form[device_type]" value="1" checked="checked">脉冲
            </div>
          </div>
          <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
            <input name="device_id" type="hidden" value="{$device.device_id}">
            <button class="btn btn-primary" type="submit">更新</button>
          </div>
        </form>
      </div>
    </div>
  </div>

